cmake_minimum_required(VERSION 3.16)
project(xrtclient)
add_definitions("-g -pipe -W -Wall -fPIC -std=gnu++14 -DWEBRTC_POSIX -DWEBRTC_LINUX")
include_directories(
    "./include"
    "../rtcbase/src"
    "../rtcbase/third_party/include"

)
link_directories(
    "./lib"
    "../rtcbase/third_party/lib"

)

file(GLOB all_src
    "./src/*.cpp"
)

add_executable(xrtclient ${all_src})
target_link_libraries(xrtclient librtcbase.a libabsl_strings.a libabsl_throw_delegate.a libssl.a libcrypto.a  -lpthread -ldl)
